//thread_list_0d86930

_.Module.define({
	path: "tbui/widget/audio_player",
	sub: {
		defaultOptions: {
			src: "https://gss2.baidu.com/5LgHhXSm2Q5IlBGlnYG/player/static/flash/fmp.swf"
		},
		isReady: !1,
		isPlaying: !1,
		isMute: !1,
		volume: void 0,
		url: "",
		initial: function(t) {
			var e = this;
			this.options = $.extend(this.defaultOptions, t);
			var i = $("<div></div>").css({
				width: 1,
				height: 1,
				overflow: "hidden"
			});
			i.appendTo("body"), i.html(this.renderSwf(this.options.src));
			var s = i.find("object"),
				a = $.browser.msie ? s[0] : s.find("embed")[0];
			this.$container = i, this.$swf = s, this.swfObject = a, this.checkTimes = 0;
			var n = setInterval(function() {
				try {
					this.checkTimes++, e.swfObject && e.swfObject.PercentLoaded && 100 === e.swfObject.PercentLoaded() && (clearInterval(n), setTimeout(function() {
						e.onSwfLoaded()
					}, 100))
				} catch(t) {
					this.checkTimes > 20 && (clearInterval(n), n = null)
				}
			}, 100);
			window.pl = this
		},
		onSwfLoaded: function() {
			this.isReady = !0, this.bindEvents(), this.trigger("playerloaded", this)
		},
		renderSwf: function() {
			var t = ['<object id="audio_player_core" width="#{width}" height="#{height}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#4,0,0,0">', '<param name="quality" value="high" />', '<param name="allowscriptaccess" value="always">', '<param name="scale" value="noscale">', '<param name="wmode" value="window">', '<param name="movie" value="#{srcWithStamp}">', '<embed name="audio_player_core" width="#{width}" height="#{height}" allowscriptaccess="always" wmode="window" scale="noscale" src="#{srcWithStamp}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">', "</object>"].join("");
			return function(e) {
				return $.tb.format(t, {
					src: e,
					srcWithStamp: e,
					width: 1,
					height: 1
				})
			}
		}(),
		bindEvents: function() {
			this.bind("reset", this._reset, this), this.bind("load", this._load, this), this.bind("play", this._play, this), this.bind("pause", this._pause, this), this.bind("stop", this._stop, this), this.bind("setmute", this._setMute, this)
		},
		_reset: function() {
			this.stop(), this.url = "", this.isPlaying = !1
		},
		_load: function(t, e, i, s) {
			function a() {
				var t = n._getLoadedPercent();
				return t > .3 ? (n.trigger("songloaded", t), n.failHandler && clearTimeout(n.failHandler), i && i(), !0) : !1
			}
			var n = this;
			this.url = e, this.swfObject.closeStream(), this.swfObject.f_load(e), this.failHandler && clearTimeout(this.failHandler), this.failHandler = setTimeout(function() {
				s && s()
			}, 5e3), this.checkLoadedHandler && clearTimeout(this.checkLoadedHandler), this.checkLoadedHandler = setTimeout(function() {
				a() || (n.checkLoadedHandler = setTimeout(arguments.callee, 50))
			}, 50)
		},
		_play: function(t, e, i, s) {
			function a() {
				var t = n._getCurrentPosition();
				return i && i({
					percent: t,
					totalTime: n._getTotalTime(),
					currentTime: n._getCurrentTime()
				}), 1 == t ? (n.trigger("playfinish", t), s && s(), !0) : !1
			}
			var n = this;
			if(!this.isPlaying) {
				var h = this._getTotalTime();
				this.swfObject.f_play(), this.checkFinishedHandler && clearTimeout(this.checkFinishedHandler), this.isPlaying = !0, e && e({
					totalTime: h
				}), this.checkFinishedHandler = setTimeout(function() {
					a() || (n.checkFinishedHandler = setTimeout(arguments.callee, 500))
				}, 1e3)
			}
		},
		_pause: function() {
			this.isPlaying && (this.swfObject.f_pause(), this.isPlaying = !1)
		},
		_stop: function() {
			this.swfObject.f_stop(), this.checkFinishedHandler && clearTimeout(this.checkFinishedHandler), this.isPlaying = !1
		},
		_setMute: function(t, e) {
			this.isMute = e;
			try {
				this.swfObject.setData("mute", e)
			} catch(i) {
				return !1
			}
		},
		_setVolume: function(t, e) {
			this.volume = e;
			try {
				this.swfObject.setData("volume", e)
			} catch(i) {
				return !1
			}
		},
		_setCurrentPosition: function() {},
		_getCurrentPosition: function() {
			return this.swfObject.getData("postionPct")
		},
		_getLoadedPercent: function() {
			return this.swfObject.getData("loadedPct")
		},
		_getTotalTime: function() {
			return this.swfObject.getData("length")
		},
		_getCurrentTime: function() {
			return this.swfObject.getData("currentPosition")
		}
	}
});
_.Module.define({
	path: "tbui/widget/voice",
	requires: ["tbui/widget/audio_player"],
	sub: {
		version: "0.1",
		api: "/voice/index?",
		pidWhiteList: [40649447103, 40649504943, 40649558518, 40649601183],
		initial: function(t) {
			this.product = t && t.product || "frs", this.tid = t && t.tid || 0, this.api = t && t.api || this.api, this.useMd5 = t && t.useMd5 || 0, this.canPlay = t && t.canPlay || 1, $("body").on("click", ".voice_player a ", function(t) {
				t.preventDefault()
			}), this.initPlayer(), $(window).bind("initvoicelength", function(t, e) {
				var i = $(e),
					a = i.find(".minute"),
					n = i.find(".second");
				if(a.length > 0 || n.length > 0 && n.text() >= 30) i.width(125);
				else if(n.length > 0) {
					var r = n.text();
					5 >= r ? i.width(50) : i.width(50 + 3 * (r - 5))
				}
			}), $(".voice_player .time").each(function() {
				$(window).trigger("initvoicelength", this)
			})
		},
		initPlayer: function() {
			var t = this;
			this.player = this.requireInstance("tbui/widget/audio_player"), this.player.bind("playerloaded", function() {
				t.bindPlayerEvent()
			})
		},
		bindPlayerEvent: function() {
			var t = this,
				e = this.animateIcon,
				i = this.player,
				a = null;
			$("body").on("click", ".voice_player a", function(n) {
				function r(t) {
					t.totalTime > 0 && !u.data("time") && 0 != t.totalTime && u.data("time", t.totalTime)
				}

				function s(e) {
					var i = (0 != e.totalTime ? e.totalTime : u.data("time")) - e.currentTime;
					t.updateTime(u, i)
				}

				function o() {
					p.data("state", ""), t.resetTime(u), e.reset(c)
				}
				n.preventDefault(), $.stats.track("voice_btn_total", "pc_voice"); {
					var l, d, p = $(this).parent(".voice_player"),
						c = p.find(".speaker"),
						u = p.find(".time"),
						m = p.hasClass("voice_player_mini");
					m ? "lzl" : t.product
				}
				if(p.hasClass("in_live_thread")) {
					var h = p.data("info") || {};
					l = h.tid, d = h.pid
				} else "pb" === t.product ? (l = PageData.thread && PageData.thread.thread_id, d = m ? p.parents(".j_lzl_s_p").getData().spid : p.parents(".l_post").getData().content.post_id) : "frs" == t.product ? l = p.parents(".j_thread_list").data("field").id : "index" == t.product && (l = p.data("tid"));
				var g = "";
				if(g = 1 == t.useMd5 ? t.api + "?voice_md5=" + p.data("md5") : t.api + "tid=" + l + (d ? "&pid=" + d : ""), 1 != t.canPlay && -1 == $.inArray(d, t.pidWhiteList)) return a && (i.trigger("stop"), t.resetPrevPlayer(a)), void 0;
				if("playing" === p.data("state")) i.trigger("stop"), p.data("state", ""), e.reset(c), t.resetTime(u), $.stats.track("voice_stop", "pc_voice");
				else {
					t.resetPrevPlayer(a), i.trigger("stop"), p.data("state", "playing"), e.set(c, "loading"), $.stats.track("voice_play", "pc_voice");
					var v = u.find(".minute"),
						f = u.find(".second"),
						y = v.length > 0 ? +v.html() : 0,
						_ = f.length > 0 ? +f.html() : 0;
					u.data("time", 6e4 * y + 1e3 * _), i._setVolume("", 100), i.trigger("load", g, function() {
						i.trigger("play", r, s, o), e.set(c, "playing")
					}, function() {
						i.trigger("stop"), p.data("state", ""), e.reset(c), t.resetTime(u);
						var a = $.tb.alert({
							title: "\u64ad\u653e\u5931\u8d25",
							message: "\u6211\u4e0d\u662f\u6545\u610f\u7684\uff0c\u64ad\u653e\u5931\u8d25\u4e86\uff0c\u8bf7\u518d\u8bd5\u4e00\u4e0b\u5427~",
							buttons: [{
								text: "\u786e\u8ba4"
							}],
							width: 310
						});
						a.modal.bind("click", function() {
							a.hide()
						})
					}), a = p
				}
			})
		},
		updateTime: function(t, e) {
			e = e || t.data("time") || 0;
			var i = Math.floor(e / 6e4),
				a = Math.round(e % 6e4 / 1e3),
				n = "";
			i > 0 && (n += '<span class="minute">' + i + "</span>'"), (a > 0 || i > 0) && (n += '<span class="second">' + a + '</span>"'), t.html(n)
		},
		resetTime: function(t) {
			this.updateTime(t)
		},
		resetPrevPlayer: function(t) {
			if(t) {
				var e = t.find(".speaker"),
					i = t.find(".time");
				t.data("state", ""), this.resetTime(i), this.animateIcon.reset(e)
			}
		},
		animateIcon: function() {
			function t(t, e) {
				if($.browser.mozilla) {
					var i = t.parent().parent().hasClass("loading") ? "loading" : "playing",
						a = t.parent().parent().parent().hasClass("voice_player_mini") ? "mini" : "normal",
						n = e + "px " + s[a][i] + "px";
					t.css("background-position", n)
				} else t.css("background-position-x", e)
			}

			function e(e, s) {
				l && i(l), i(e), l = e, e.parent().parent().addClass(s);
				var d = e.parent().parent().parent().hasClass("voice_player_mini") ? "mini" : "normal";
				"playing" === s ? (e.parent().parent().hasClass("voice_player_mini") ? t(e, -38) : t(e, -58), o = setTimeout(function() {
					var i = 0;
					return function() {
						i = (i + 1) % 4, t(e, a[d][i]), o = setTimeout(arguments.callee, r[s])
					}
				}(), r[s])) : "loading" === s && (e.parent().parent().hasClass("voice_player_mini") ? t(e, -1) : t(e, -1), o = setTimeout(function() {
					var i = 0;
					return function() {
						i = (i + 1) % 12, t(e, -1 - i * n[d]), o = setTimeout(arguments.callee, r[s])
					}
				}(), r[s]))
			}

			function i(e) {
				clearTimeout(o), e.parent().parent().removeClass("loading playing"), e.parent().parent().parent().hasClass("voice_player_mini") ? t(e, -38) : t(e, -58)
			}
			var a = {
					normal: [-1, -20, -39, -58],
					mini: [1, -12, -25, -38]
				},
				n = {
					normal: 20,
					mini: 15
				},
				r = {
					playing: 400,
					loading: 100
				},
				s = {
					normal: {
						playing: -202,
						loading: -167
					},
					mini: {
						playing: -264,
						loading: -237
					}
				},
				o = null,
				l = null;
			return {
				set: e,
				reset: i
			}
		}()
	}
});
_.Module.define({
	path: "frs-list/pagelet/thread_list",
	requires: ["tbui/widget/voice", "frs-list/widget/util_pop_video", "user/widget/user_visit_card", "user/widget/single_icons", "entertainment-game/widget/game_thread", "entertainment-game/widget/game_code_thread", "frs-list/widget/scroll_event", "frs-list/widget/util_https_stat", "frs-list/widget/util_media_controller", "frs-list/widget/util_top_cookie", "ueglib/widget/block_user"],
	sub: {
		initial: function() {},
		init: function(e) {
			this.$_wrapper = $(".j_threadlist_bright"), this.setOptions(e), this.initPlugin(), this.run(e)
		},
		run: function(e) {
			this.initMediaController(e), this.bakanInit(), this.bindTopThreadEvent(), this.bindMemberEvents(), this.bindDeleteEvents(), this.threadEasterEggsTrack(), this.checkLogin(), this.bindJoinVipStat(), this.bindPostSuccessEvents(), this.bindTopicEvent(), this.bindLive()
		},
		initPlugin: function() {
			this.requireInstance("tbui/widget/voice"), this.requireInstance("frs-list/widget/util_pop_video"), this.requireInstance("user/widget/user_visit_card", [{
				wrapper: this.$_wrapper
			}]), this.requireInstance("user/widget/single_icons", [{
				wrapper: this.$_wrapper
			}]), this.requireInstance("entertainment-game/widget/game_thread", [{
				wrapper: this.$_wrapper
			}]), this.requireInstance("entertainment-game/widget/game_code_thread", [{
				wrapper: this.$_wrapper
			}]), this.requireInstance("frs-list/widget/scroll_event", [{
				wrapper: this.$_wrapper
			}]), this.requireInstance("frs-list/widget/util_https_stat")
		},
		setOptions: function(e) {
			null != e && (this._options = $.extend(this._options, e))
		},
		initMediaController: function(e) {
			this.requireInstance("frs-list/widget/util_media_controller", [{
				wrapper: this.$_wrapper,
				type: "threadList",
				videoAutoPlay: e.videoAutoPlay || 0
			}])
		},
		bakanInit: function() {
			$(".th_bakan").each(function() {
				var e = $(this).closest(".j_thread_list"),
					t = e.getData();
				$.get("/bakan/sys/get_bakan_by_thread?fid=" + PageData.forum.id + "&tid=" + t.id, function(t) {
					var i = $.parseJSON(t);
					0 == i.error_no ? e.find(".threadlist_abs").append(i.msg.brief).after('<div class="m_bakan"><a rel="noreferrer"  href="/bakan/view?kw=' + PageData.forum.name_url + "&kid=" + i.msg.bakan_id + '" target="_blank"><img style="height:75px;width:auto;vertical-align: baseline;" src="https://imgsa.baidu.com/forum/pic/item/' + i.msg.pic_url + '.jpg" height="75"/></a><a rel="noreferrer"  href="/bakan/view?kw=' + PageData.forum.name_url + "&kid=" + i.msg.bakan_id + '" target="_blank">\u672c\u671f\u5427\u520a<em>&#187;</em></a></div>') : e.find(".threadlist_abs").append('<div class="m_bakan"><a rel="noreferrer"  href="/bakan/view?kw=' + PageData.forum.name_url + "&kid=" + i.msg.bakan_id + '" target="_blank"><img style="height:75px;width:auto;vertical-align: baseline;" src="https://imgsa.baidu.com/forum/pic/item/' + i.msg.pic_url + '.jpg" height="75"/></a><a rel="noreferrer"  href="/bakan/view?kw=' + PageData.forum.name_url + "&kid=" + i.msg.bakan_id + '" target="_blank">\u672c\u671f\u5427\u520a<em>&#187;</em></a></div>')
				})
			})
		},
		checkLogin: function() {
			$(".j_user_card").on("click", function() {
				if(!PageData.user.is_login) {
					var e = $(this).tbattr("href"),
						t = "//tieba.baidu.com" + $.tb.unescapeHTML(e);
					return window.open("/f/user/passport?jumpUrl=" + t + "&statsInfo=frs_user#login_anchor"), !1
				}
			})
		},
		bindTopThreadEvent: function() {
			var e = this,
				t = $("#thread_top_folder"),
				i = $("#thread_top_list");
			t.length && t.on("click", function() {
				i.children("li").slideDown(), $(this).hide();
				for(var t = $(this).data("field"), a = $.cookie("top_list") || "", n = 0, r = t.length; r > n; n++) {
					var o = e.requireInstance("frs-list/widget/util_top_cookie", [t[n]]);
					a = o.deltid(a)
				}
				$.cookie("top_list", a, {
					expires: 72,
					path: "/"
				})
			}), i.find(".j_thread_hidden").on("click", function() {
				$(this).parents(".j_thread_list").slideUp(), t.show();
				var i = $(this).data("field"),
					a = i.tid,
					n = $.cookie("top_list") || "",
					r = e.requireInstance("frs-list/widget/util_top_cookie", [a]);
				r.tidin(n) || $.cookie("top_list", r.addtid(n), {
					expires: 72,
					path: "/"
				})
			})
		},
		bindLive: function() {
			this.$_wrapper.on("click", ".threadlist_live, .threadlist_blink_dot", function(e) {
				$.stats.track("\u70b9\u51fb", "frs\u770b\u5e16\u76f4\u64ad\u8d34\u70b9\u51fb\u91cf", "frs", "click", {
					live_id: /threadlist_blink_dot/.test(e.target.className) ? e.target.parentNode.href.match(/live_id=(\d+)/)[1] : e.target.href.match(/live_id=(\d+)/)[1]
				})
			});
			for(var e = $(".threadlist_blink_dot"), t = 0; t < e.length; t++) e[t].posY = e[t].getBoundingClientRect().top + document.documentElement.scrollTop;
			$(window).on("scroll", function() {
				for(var t = 0; t < e.length; t++) null == e[t].seen && e[t].posY < document.documentElement.clientHeight + document.documentElement.scrollTop && e[t].posY > document.documentElement.scrollTop && (e[t].seen = !0, $.stats.track("\u5c55\u793a", "frs\u770b\u5e16\u76f4\u64ad\u8d34\u66dd\u5149\u91cf", "frs", "view", {
					live_id: e[t].parentNode.href.match(/live_id=(\d+)/)[1]
				}))
			})
		},
		bindMemberEvents: function() {
			this.$_wrapper.on("mouseover", ".j_beMember", function() {
				$(this).css({
					"background-color": "#ffffe5"
				})
			}).on("mouseout", ".j_beMember", function() {
				$(this).css({
					"background-color": "#fff"
				})
			})
		},
		bindDeleteEvents: function() {
			var e = this;
			this._options.pagelet.on("manager_mode_disabled", function() {
				e._options.pagelet.refresh()
			}).on("manager_mode_enabled", function() {
				e._options.pagelet.refresh()
			}), this.$_wrapper.on("click", ".j_deleteThreads", $.proxy(this.canDeleteThread, this, 0)).on("click", ".j_deleteAndBan", $.proxy(this.canDeleteThread, this, 1))
		},
		canDeleteThread: function(e) {
			var t = this.requireInstance("ueglib/widget/detect_manager_block", [this._options.ifCheck]);
			t.doOnNotBlocked($.proxy(this.deleteThread, this, e))
		},
		deleteThread: function(e, t) {
			var i = this,
				a = "",
				n = [],
				r = [];
			$(".j_batch_delete_select:checked").each(function(e, t) {
				var i = $(t).parent().parent(),
					o = i.getData();
				n.push({
					username: o.author_name,
					pid: o.first_post_id,
					id: o.id
				}), r.push(o.id), a = 0 == e ? o.id : a + "_" + o.id
			});
			var o = {
				fid: PageData.forum.id,
				tbs: PageData.tbs,
				tid: a,
				kw: PageData.forum.name,
				isBan: 0
			};
			o = t ? $.extend(o, t) : o, "" != a && $.tb.post("/f/commit/thread/batchDelete", o, function(t) {
				if(1990055 === t.err_code) $.tb.checkRealName();
				else if(0 == t.no) e ? i.requireInstance("ueglib/widget/block_user", [n, {
					ban_id: !0,
					ban_ip: !0
				}, PageData.forum, PageData.tbs, function() {
					i._options.pagelet.refresh()
				}]) : i._options.pagelet.refresh();
				else if(12 == t.no) $.dialog.alert("<p>\u62b1\u6b49\uff0c\u8d26\u53f7\u5904\u4e8e\u5c01\u7981\u72b6\u6001\uff0c\u6682\u65f6\u4e0d\u80fd\u5220\u8d34\u3002<a rel='noreferrer'  href='//tieba.baidu.com/upc/userinfo?fid=" + PageData.forum.id + "' target='_blank'>\u70b9\u51fb\u6b64\u5904</a>\u67e5\u770b\u8be6\u7ec6\u4fe1\u606f</p>");
				else if(13 == t.no) $.dialog.alert("<p>\u62b1\u6b49\uff0c\u7f51\u7edc\u5730\u5740\u5904\u4e8e\u5c01\u7981\u72b6\u6001\uff0c\u6682\u65f6\u4e0d\u80fd\u5220\u8d34\u3002<a rel='noreferrer'  href='//tieba.baidu.com/upc/userinfo?fid=" + PageData.forum.id + "' target='_blank'>\u70b9\u51fb\u6b64\u5904</a>\u67e5\u770b\u8be6\u7ec6\u4fe1\u606f</p>");
				else if(899 == t.no) $.dialog.alert("<p>\u60a8\u65e0\u6cd5\u5220\u9664\u8be5\u8d34\u5b50\u3002</p>");
				else if(34 == t.no) $.dialog.alert("<p>\u4eb2\u7231\u7684\u5c0f\u4f19\u4f34\uff0c\u4f60\u4eca\u5929\u7684\u5220\u8d34\u6570\u91cf\u5df2\u7ecf\u8fbe\u5230\u6700\u5927\u9650\u989d(" + t.data.reason + "\u6761/\u5929\uff09\uff0c\u660e\u5929\u518d\u6765\u8bd5\u8bd5\u5427~</p>");
				else if(4009 == t.no) $.dialog.alert("<p>\u8be5\u8d34\u5b50\u5df2\u88ab\u4fdd\u62a4\uff0c\u65e0\u6cd5\u76f4\u63a5\u5220\u9664\uff0c\u5982\u53d1\u73b0\u8d34\u5b50\u6709\u95ee\u9898\u8bf7\u76f4\u63a5\u4e3e\u62a5</p>");
				else {
					if(4011 == t.no) return i.getCaptcha(t, e), void 0;
					if(4014 === t.no) return i._report(t, e, n), void 0;
					t.error ? $.dialog.alert(t.error) : $.dialog.alert("\u51fa\u9519\u5566\uff0c\u5237\u65b0\u9875\u9762\u770b\u4e0b\u5427\u3002")
				}
			})
		},
		_getExceptLiveBlockList: function(e, t) {
			var i = e.slice(),
				a = t.data.tids,
				n = {};
			if(a) {
				for(var r = a.length - 1; r >= 0; r--) {
					var o = a[r];
					n[o] = !0
				}
				for(r = i.length - 1; r >= 0; r--) n[i[r].id] && i.splice(r, 1)
			}
			return i
		},
		_getOnReportCloseFn: function(e, t, i) {
			var a = this,
				n = i.length === e.data.tids.length ? !1 : !0;
			return t ? function() {
				var t = a._getExceptLiveBlockList(i, e);
				a.requireInstance("ueglib/widget/block_user", [t, {
					ban_id: !0,
					ban_ip: !0
				}, PageData.forum, PageData.tbs, function() {
					a._options.pagelet.refresh()
				}])
			} : n ? function() {
				a._options.pagelet.refresh()
			} : function() {}
		},
		_report: function(e, t, i) {
			var a = this,
				n = ['<span style="color:#2d64b3">"', a._getTenStr(e.data.title), '"', "</span>", e.data.tids.length > 1 ? "\u7b49" + e.data.tids.length + "\u4e2a\u8d34\u5b50" : "", t ? "\u5df2\u88ab\u4fdd\u62a4,\u65e0\u6cd5\u76f4\u63a5\u5220\u9664\u6216\u5c01\u7981,\u5982\u8d34\u5b50\u6709\u95ee\u9898\u8bf7\u76f4\u63a5\u4e3e\u62a5\u3002" : "\u5df2\u88ab\u4fdd\u62a4,\u65e0\u6cd5\u76f4\u63a5\u5220\u9664,\u5982\u8d34\u5b50\u6709\u95ee\u9898\u8bf7\u76f4\u63a5\u4e3e\u62a5\u3002"].join("");
			a.requireInstanceAsync("common/widget/live_complaint", [], function(r) {
				r.showReport({
					msg: n,
					tids: e.data.tids,
					onCloseFn: a._getOnReportCloseFn(e, t, i)
				})
			})
		},
		_getTenStr: function(e) {
			return e ? e.length > 10 ? e.substr(0, 10) + "..." : e : ""
		},
		getCaptcha: function(e, t) {
			var i = this,
				a = i.requireInstanceAsync("poster/widget/captcha_dialog", [{
					title: "\u5220\u9664\u8d34\u5b50",
					message: "\u5220\u4e86\u90a3\u4e48\u591a\u8d34\u5b50\uff0c\u8f93\u4e2a\u7801\u9a8c\u8bc1\u4e0b\u8eab\u4efd\u5427~",
					vCode: e.data.vcode.captcha_vcode_str,
					vCodeType: e.data.vcode.captcha_code_type,
					forumName: PageData.forum.name,
					forumId: PageData.forum.id,
					postType: "thread",
					paramsCallback: function() {
						return {}
					}
				}]);
			a.bind("onclose", function() {
				return a.hide(), !1
			}), a.bind("onaccept", function() {
				var e = {
					vcode: a.getInputValue(),
					vcode_md5: a.getVCode()
				};
				i.deleteThread.call(i, t, e)
			}), a.show()
		},
		threadEasterEggsTrack: function() {
			var e = this.$_wrapper.find(".thread-easter-eggs-wrapper");
			e.siblings(".t_con").find(".j_threadlist_li_left").css("position", "relative");
			var t = {};
			e.each(function() {
				var e = $(this),
					i = e.data("skin-id");
				t[i] ? t[i]++ : t[i] = 1
			});
			for(var i in t) $.stats.track("\u5c55\u793a", "\u53d1\u5e16\u7279\u578b\u5c55\u793a\u6570\u91cf", "frs", "show", {
				show_count: t[i],
				skinId: i
			});
			this.$_wrapper.on("click", ".thread-easter-eggs-wrapper", function() {
				var e = $(this),
					t = e.data("skin-id");
				$.stats.track("\u70b9\u51fb", "\u53d1\u5e16\u7279\u578b\u5c55\u793a\u6570\u91cf", "frs", "click", {
					skinId: t
				})
			})
		},
		bindJoinVipStat: function() {
			$("#thread_list").find(".threadlist_author .pre_icon_wrap .icon_tbworld").on("click", function() {
				$.stats.track("\u7687\u51a0", "\u4f1a\u5458\u5065\u5eb7\u7edf\u8ba1", "", "click", {
					obj_name: "FRS\u4e3b\u9898\u7528\u6237\u540d\u7687\u51a0\u70b9\u51fb"
				})
			})
		},
		bindPostSuccessEvents: function() {
			var e = this;
			this._options.pagelet.on("postSuccess", function() {
				e._options.pagelet.refresh()
			})
		},
		bindTopicEvent: function() {
			$(".topic-tag").off("click").on("click", function(e) {
				e.preventDefault();
				var t = $(this).tbattr("data-name"),
					i = $.tb.location.getProtocol() + "//" + $.tb.location.getHostname() + ($.tb.location.getPort() ? ":" + $.tb.location.getPort() : "");
				window.open(i + "/hottopic/browse/hottopic?topic_name=" + t)
			})
		}
	}
});